package cc.customer.onschool.domain;

import cc.customer.common.annotation.ExportConfig;

import java.util.Date;
import javax.persistence.*;

@Table(name = "c_onshool")
public class OnSchoolResource {
    @Id
    @Column(name = "os_id")
    private Long osId;

    @Column(name = "os_uuid")
    private String osUuid;

    /**
     * 名字
     */
    @Column(name = "os_nickname")
    @ExportConfig(value = "昵称")
    private String osNickname;

    /**
     * 性别
     */
    @Column(name = "os_sex")
    @ExportConfig(value = "性别")
    private String osSex;

    /**
     * 手机号
     */
    @Column(name = "os_mobile")
    @ExportConfig(value = "手机号")
    private String osMobile;

    /**
     * 地区
     */
    @Column(name = "os_city")
    @ExportConfig(value = "地区")
    private String osCity;

    /**
     * 片区
     */
    @Column(name = "os_zone")
    @ExportConfig(value = "片区")
    private String osZone;

    @Column(name = "os_email")
    @ExportConfig(value = "邮箱")
    private String osEmail;

    @Column(name = "os_groud")
    private String osGroud;

    /**
     * qq
     */
    @Column(name = "os_qq")
    @ExportConfig(value = "qq")
    private String osQq;

    /**
     * 创建时间
     */
    @Column(name = "os_create_time")
    @ExportConfig(value = "注册时间")
    private String osCreateTime;

    @Column(name = "os_import_time")
    private String osImportTime;

    @Column(name = "os_img")
    private String osImg;

    /**开始时间-前端临时字段*/
    @Transient
    private String starttime;

    /**结束时间-前端临时字段*/
    @Transient
    private String endtime;

    /**
     * 所属客户人员
     */
    @Column(name = "os_my_customer")
    private String osMyCustomer;

    /**所属客服人员名字*/
    @Column(name = "os_my_customername")
    @ExportConfig(value = "当前所属客户人员")
    private String osMyCustomerName;

    /**共享客户类型**/
    @Column(name = "os_cus_share")
    private String osCusShare;

    @Transient
    private String osCusShareName;

    @Transient
    private String NICKNAME;


    /**
     * 删除状态
     */
    @Column(name = "os_del_status")
    private String osDealStatus;

    /**
     * 客户标签
     */
    @Column(name = "os_label")
    private String osLabel;

    /**
     * 客户标签名称
     */
    @Transient
    private String osLabelName;

    /**
     * 客户意向项目
     */
    @Column(name = "os_project")
    private String osProject;

    /**
     * 客户所在阶段
     */
    @Column(name = "os_stage")
    private String osStage;

    /**
     * 所制定的销售计划
     */
    @Column(name = "os_plan")
    private String osPlan;

    /**
     * 通过邀请码所获取的部门
     */
    @Column(name = "os_dept")
    private String osDept;

    /**
     * 通过邀请码所获取的部门
     */
    @Column(name = "os_groups")
    private String osGroups;

    /**
     * 执行分配操作的人
     */
    @Column(name = "os_distributor")
    private String osDistributor;


    /**最新跟进记录**/
    @Column(name = "os_recent")
    private String osRecent;

    @Column(name = "os_recent_time")
    private String osRecentTime;

    public String getOsGroud() {
        return osGroud;
    }

    public void setOsGroud(String osGroud) {
        this.osGroud = osGroud;
    }

    public String getOsRecent() {
        return osRecent;
    }

    public void setOsRecent(String osRecent) {
        this.osRecent = osRecent;
    }

    public String getOsRecentTime() {
        return osRecentTime;
    }

    public void setOsRecentTime(String osRecentTime) {
        this.osRecentTime = osRecentTime;
    }

    public String getOsDistributor() {
        return osDistributor;
    }

    public void setOsDistributor(String osDistributor) {
        this.osDistributor = osDistributor;
    }

    public String getOsGroups() {
            return osGroups;
        }

    public void setOsGroups(String osGroups) {
        this.osGroups = osGroups;
    }

    public String getOsCusShare() {
        return osCusShare;
    }

    public void setOsCusShare(String osCusShare) {
        this.osCusShare = osCusShare;
    }

    public String getOsLabelName() {
        return osLabelName;
    }

    public void setOsLabelName(String osLabelName) {
        this.osLabelName = osLabelName;
    }

    public String getOsCusShareName() {
        return osCusShareName;
    }

    public void setOsCusShareName(String osCusShareName) {
        this.osCusShareName = osCusShareName;
    }

    /**
     * @return os_id
     */
    public Long getOsId() {
        return osId;
    }

    /**
     * @param osId
     */
    public void setOsId(Long osId) {
        this.osId = osId;
    }

    /**
     * @return os_uuid
     */
    public String getOsUuid() {
        return osUuid;
    }

    /**
     * @param osUuid
     */
    public void setOsUuid(String osUuid) {
        this.osUuid = osUuid == null ? null : osUuid.trim();
    }

    /**
     * 获取手机号
     *
     * @return os_mobile - 手机号
     */
    public String getOsMobile() {
        return osMobile;
    }

    /**
     * 设置手机号
     *
     * @param osMobile 手机号
     */
    public void setOsMobile(String osMobile) {
        this.osMobile = osMobile == null ? null : osMobile.trim();
    }

    /**
     * 获取地区
     *
     * @return os_city - 地区
     */
    public String getOsCity() {
        return osCity;
    }

    /**
     * 设置地区
     *
     * @param osCity 地区
     */
    public void setOsCity(String osCity) {
        this.osCity = osCity == null ? null : osCity.trim();
    }

    /**
     * 获取片区
     *
     * @return os_zone - 片区
     */
    public String getOsZone() {
        return osZone;
    }

    /**
     * 设置片区
     *
     * @param osZone 片区
     */
    public void setOsZone(String osZone) {
        this.osZone = osZone == null ? null : osZone.trim();
    }

    /**
     * @return os_email
     */
    public String getOsEmail() {
        return osEmail;
    }

    /**
     * @param osEmail
     */
    public void setOsEmail(String osEmail) {
        this.osEmail = osEmail == null ? null : osEmail.trim();
    }

    /**
     * 获取qq
     *
     * @return os_qq - qq
     */
    public String getOsQq() {
        return osQq;
    }

    /**
     * 设置qq
     *
     * @param osQq qq
     */
    public void setOsQq(String osQq) {
        this.osQq = osQq == null ? null : osQq.trim();
    }

    /**
     * 获取性别
     *
     * @return os_sex - 性别
     */
    public String getOsSex() {
        return osSex;
    }

    /**
     * 设置性别
     *
     * @param osSex 性别
     */
    public void setOsSex(String osSex) {
        this.osSex = osSex == null ? null : osSex.trim();
    }

    /**
     * 获取创建时间
     *
     * @return os_create_time - 创建时间
     */
    public String getOsCreateTime() {
        return osCreateTime;
    }

    /**
     * 设置创建时间
     *
     * @param osCreateTime 创建时间
     */
    public void setOsCreateTime(String osCreateTime) {
        this.osCreateTime = osCreateTime;
    }

    /**
     * @return os_import_time
     */
    public String getOsImportTime() {
        return osImportTime;
    }

    /**
     * @param osImportTime
     */
    public void setOsImportTime(String osImportTime) {
        this.osImportTime = osImportTime;
    }

    /**
     * 获取所属客户人员
     *
     * @return os_my_customer - 所属客户人员
     */
    public String getOsMyCustomer() {
        return osMyCustomer;
    }

    /**
     * 设置所属客户人员
     *
     * @param osMyCustomer 所属客户人员
     */
    public void setOsMyCustomer(String osMyCustomer) {
        this.osMyCustomer = osMyCustomer == null ? null : osMyCustomer.trim();
    }

    /**
     * 获取成交状态
     *
     * @return os_deal_status - 成交状态
     */
    public String getOsDealStatus() {
        return osDealStatus;
    }

    /**
     * 设置成交状态
     *
     * @param osDealStatus 成交状态
     */
    public void setOsDealStatus(String osDealStatus) {
        this.osDealStatus = osDealStatus == null ? null : osDealStatus.trim();
    }

    /**
     * 获取名字
     *
     * @return os_nickname - 名字
     */
    public String getOsNickname() {
        return osNickname;
    }

    /**
     * 设置名字
     *
     * @param osNickname 名字
     */
    public void setOsNickname(String osNickname) {
        this.osNickname = osNickname == null ? null : osNickname.trim();
    }

    public String getOsDept() {
        return osDept;
    }

    public void setOsDept(String osDept) {
        this.osDept = osDept;
    }

public String getOsLabel() {
        return osLabel;
    }

    public void setOsLabel(String osLabel) {
        this.osLabel = osLabel;
    }

    public String getOsProject() {
        return osProject;
    }

    public void setOsProject(String osProject) {
        this.osProject = osProject;
    }

    public String getOsStage() {
        return osStage;
    }

    public void setOsStage(String osStage) {
        this.osStage = osStage;
    }

    public String getOsPlan() {
        return osPlan;
    }

    public void setOsPlan(String osPlan) {
        this.osPlan = osPlan;
    }

    public String getOsMyCustomerName() {
            return osMyCustomerName;
        }

    public void setOsMyCustomerName(String osMyCustomerName) {
        this.osMyCustomerName = osMyCustomerName;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public String getNICKNAME() {
        return NICKNAME;
    }

    public void setNICKNAME(String NICKNAME) {
        this.NICKNAME = NICKNAME;
    }

    public String getOsImg() {
        return osImg;
    }

    public void setOsImg(String osImg) {
        this.osImg = osImg;
    }


    @Override
    public String toString() {
        return "OnSchoolResource{" +
                "osId=" + osId +
                ", osUuid='" + osUuid + '\'' +
                ", osNickname='" + osNickname + '\'' +
                ", osSex='" + osSex + '\'' +
                ", osMobile='" + osMobile + '\'' +
                ", osCity='" + osCity + '\'' +
                ", osZone='" + osZone + '\'' +
                ", osEmail='" + osEmail + '\'' +
                ", osGroud='" + osGroud + '\'' +
                ", osQq='" + osQq + '\'' +
                ", osCreateTime='" + osCreateTime + '\'' +
                ", osImportTime='" + osImportTime + '\'' +
                ", osImg='" + osImg + '\'' +
                ", starttime='" + starttime + '\'' +
                ", endtime='" + endtime + '\'' +
                ", osMyCustomer='" + osMyCustomer + '\'' +
                ", osMyCustomerName='" + osMyCustomerName + '\'' +
                ", osCusShare='" + osCusShare + '\'' +
                ", osCusShareName='" + osCusShareName + '\'' +
                ", NICKNAME='" + NICKNAME + '\'' +
                ", osDealStatus='" + osDealStatus + '\'' +
                ", osLabel='" + osLabel + '\'' +
                ", osLabelName='" + osLabelName + '\'' +
                ", osProject='" + osProject + '\'' +
                ", osStage='" + osStage + '\'' +
                ", osPlan='" + osPlan + '\'' +
                ", osDept='" + osDept + '\'' +
                ", osGroups='" + osGroups + '\'' +
                ", osDistributor='" + osDistributor + '\'' +
                ", osRecent='" + osRecent + '\'' +
                ", osRecentTime='" + osRecentTime + '\'' +
                '}';
    }
}
